package com.ysu.zyw.modal.po;

/**
 * Created by zhang_yao_wu1993 on 15/4/27.
 *
 * @author by Zerur
 */
public class BlogArticleEntity {
    private int id;
    private String title;
    private int clickRate;
    private String uuid;
    private int categoryId;

    public BlogArticleEntity() {
    }

    public BlogArticleEntity(String title, String uuid, int categoryId) {
        this.id = -1;
        this.title = title;
        this.clickRate = 0;
        this.uuid = uuid;
        this.categoryId = categoryId;
    }

    @Override
    public String toString() {
        return "BlogArticleEntity{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", clickRate=" + clickRate +
                ", uuid='" + uuid + '\'' +
                ", categoryId=" + categoryId +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getClickRate() {
        return clickRate;
    }

    public void setClickRate(int clickRate) {
        this.clickRate = clickRate;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }
}
